package com.swy.shopgroup.entity;

import java.util.List;

public class Accepts {

    /**
     * code : 200
     * msg : 查询成功
     * data : [{"shopInfo":{"id":1,"name":"不错","shopinfo":"回电话","icon":"7291fd04-692a-46f0-b334-8c250ddbb222.jpg","pagecode":"1e02eedd-5b10-46bc-84c1-a3ec123051bc.jpg","state":1,"userid":4},"outPage":{"id":1,"shopId":1,"name":"出差","content":"一周目"},"shopUser":{"id":1,"name":"13843635055","password":"123","nickname":"测试","sex":"男","type":2,"avatar":"42e6bca2-5e4b-47fa-9f58-4a8d22688d88.jpg"}},{"shopInfo":{"id":1,"name":"不错","shopinfo":"回电话","icon":"7291fd04-692a-46f0-b334-8c250ddbb222.jpg","pagecode":"1e02eedd-5b10-46bc-84c1-a3ec123051bc.jpg","state":1,"userid":4},"outPage":{"id":1,"shopId":1,"name":"出差","content":"一周目"},"shopUser":{"id":1,"name":"13843635055","password":"123","nickname":"测试","sex":"男","type":2,"avatar":"42e6bca2-5e4b-47fa-9f58-4a8d22688d88.jpg"}}]
     */

    private String code;
    private String msg;
    private List<DataBean> data;

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public List<DataBean> getData() {
        return data;
    }

    public void setData(List<DataBean> data) {
        this.data = data;
    }

    public static class DataBean {
        /**
         * shopInfo : {"id":1,"name":"不错","shopinfo":"回电话","icon":"7291fd04-692a-46f0-b334-8c250ddbb222.jpg","pagecode":"1e02eedd-5b10-46bc-84c1-a3ec123051bc.jpg","state":1,"userid":4}
         * outPage : {"id":1,"shopId":1,"name":"出差","content":"一周目"}
         * shopUser : {"id":1,"name":"13843635055","password":"123","nickname":"测试","sex":"男","type":2,"avatar":"42e6bca2-5e4b-47fa-9f58-4a8d22688d88.jpg"}
         */

        private ShopInfoBean shopInfo;
        private OutPageBean outPage;
        private ShopUserBean shopUser;

        public ShopInfoBean getShopInfo() {
            return shopInfo;
        }

        public void setShopInfo(ShopInfoBean shopInfo) {
            this.shopInfo = shopInfo;
        }

        public OutPageBean getOutPage() {
            return outPage;
        }

        public void setOutPage(OutPageBean outPage) {
            this.outPage = outPage;
        }

        public ShopUserBean getShopUser() {
            return shopUser;
        }

        public void setShopUser(ShopUserBean shopUser) {
            this.shopUser = shopUser;
        }

        public static class ShopInfoBean {
            /**
             * id : 1
             * name : 不错
             * shopinfo : 回电话
             * icon : 7291fd04-692a-46f0-b334-8c250ddbb222.jpg
             * pagecode : 1e02eedd-5b10-46bc-84c1-a3ec123051bc.jpg
             * state : 1
             * userid : 4
             */

            private int id;
            private String name;
            private String shopinfo;
            private String icon;
            private String pagecode;
            private int state;
            private int userid;

            public int getId() {
                return id;
            }

            public void setId(int id) {
                this.id = id;
            }

            public String getName() {
                return name;
            }

            public void setName(String name) {
                this.name = name;
            }

            public String getShopinfo() {
                return shopinfo;
            }

            public void setShopinfo(String shopinfo) {
                this.shopinfo = shopinfo;
            }

            public String getIcon() {
                return icon;
            }

            public void setIcon(String icon) {
                this.icon = icon;
            }

            public String getPagecode() {
                return pagecode;
            }

            public void setPagecode(String pagecode) {
                this.pagecode = pagecode;
            }

            public int getState() {
                return state;
            }

            public void setState(int state) {
                this.state = state;
            }

            public int getUserid() {
                return userid;
            }

            public void setUserid(int userid) {
                this.userid = userid;
            }
        }

        public static class OutPageBean {
            /**
             * id : 1
             * shopId : 1
             * name : 出差
             * content : 一周目
             */

            private int id;
            private int shopId;
            private String name;
            private String content;

            public int getId() {
                return id;
            }

            public void setId(int id) {
                this.id = id;
            }

            public int getShopId() {
                return shopId;
            }

            public void setShopId(int shopId) {
                this.shopId = shopId;
            }

            public String getName() {
                return name;
            }

            public void setName(String name) {
                this.name = name;
            }

            public String getContent() {
                return content;
            }

            public void setContent(String content) {
                this.content = content;
            }
        }

        public static class ShopUserBean {
            /**
             * id : 1
             * name : 13843635055
             * password : 123
             * nickname : 测试
             * sex : 男
             * type : 2
             * avatar : 42e6bca2-5e4b-47fa-9f58-4a8d22688d88.jpg
             */

            private int id;
            private String name;
            private String password;
            private String nickname;
            private String sex;
            private int type;
            private String avatar;

            public int getId() {
                return id;
            }

            public void setId(int id) {
                this.id = id;
            }

            public String getName() {
                return name;
            }

            public void setName(String name) {
                this.name = name;
            }

            public String getPassword() {
                return password;
            }

            public void setPassword(String password) {
                this.password = password;
            }

            public String getNickname() {
                return nickname;
            }

            public void setNickname(String nickname) {
                this.nickname = nickname;
            }

            public String getSex() {
                return sex;
            }

            public void setSex(String sex) {
                this.sex = sex;
            }

            public int getType() {
                return type;
            }

            public void setType(int type) {
                this.type = type;
            }

            public String getAvatar() {
                return avatar;
            }

            public void setAvatar(String avatar) {
                this.avatar = avatar;
            }
        }
    }
}
